<?php

return [
    'register'               => [
        'listen'               => 'text://127.0.0.1:1237',
        'name'                 => 'IM-Register'
    ],
    'bussiness'               => [
        'name'                 => 'IM-BusinessWorker',
        'count'                => 1,
        'register_address'     => '127.0.0.1:1237',
        'event_handler'        => '\app\event\ChatEvents'
    ],
    'gateway'               => [
        'listen'               => 'websocket://127.0.0.1:2349',
        'name'                 => 'IM-Gateway',
        'count'                => 1,
        'lan_ip'               => '127.0.0.1',
        'start_port'           => 4100,
        'register_address'     => '127.0.0.1:1237',
        'ping_interval'        => 30
    ]
];
